package com.unione.unione_network.tcp_socket

import com.unione.unione_network.tcp_socket.bean.TcpMsg

interface TcpClientListener {

    fun onConnected(client: TcpClient)

    fun onSendData(client: TcpClient,tcpMsg: TcpMsg)

    fun onDisconnected(client: TcpClient,msg: String,e:Exception)

    fun onReceive(client: TcpClient,tcpMsg: TcpMsg)

    fun onValidationFail(client: TcpClient,tcpMsg: TcpMsg)
}